<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>td 自动换行的问题</title>
        <style>
            table{
                table-layout: fixed
            }
            td{
                word-wrap: break-word;
            }
        </style>
    </head>
    <body>
        <table width="200" border="1">
            <tbody>
                <tr>
                    <th>姓名</th>
                    <th>性别</th>
                </tr>
                <tr>
                    <td>云浩楠</td>
                    <td>女</td>
                </tr>
                <tr>
                    <td>邓绍勇</td>
                    <td>男</td>
                </tr>
            </tbody>
        </table>
    </body>
</html>